export const WHITE_LIST = [
  { name: 'notFound', children: [] },
  { name: 'login', children: [] },
  { name: 'ssoLogin', children: [] },
  { name: 'tokenLogin', children: [] },
  { name: 'ticketLogin', children: [] },
  { name: 'rootMenu', children: [] },
  { name: 'Buff', children: [] },
  { name: 'CodegenEdit', children: [] },
];

export const NOT_FOUND = {
  name: 'notFound',
};
export const ROOT_MENU = { name: 'rootMenu' };

export const REDIRECT_ROUTE_NAME = 'Redirect';
export const BUFF_ROUTE_NAME = 'Buff';
export const ROOT_MENU_NAME = 'rootMenu';
export const DEFAULT_ROUTE_NAME = 'Workplace';

export const DEFAULT_ROUTE = {
  locale: 'menu.dashboard.workplace',
  name: DEFAULT_ROUTE_NAME,
  fullPath: '/dashboard/workplace',
};

// 有关编辑功能
export const CODEGEN_NAME = 'codegen';
